MCPcopy Index your code
hub / github.com/angular/angularfire / isString

Function isString

src/compat/database/utils.ts:4–6  ·  view source on GitHub ↗
(value: any)

Source from the content-addressed store, hash-verified

2import { DatabaseReference, FirebaseOperation, FirebaseOperationCases, PathReference } from './interfaces';
3
4export function isString(value: any): boolean {
5 return typeof value === 'string';
6}
7
8export function isFirebaseDataSnapshot(value: any): boolean {
9 return typeof value.exportVal === 'function';

Callers 1

checkOperationCasesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected