core.isstringarray
Home > @medplum/core > isStringArray
isStringArray() function
Returns true if the input array is an array of strings.
Signature:
export declare function isStringArray(arr: any[]): arr is string[];
Parameters
Parameter | Type | Description |
---|---|---|
arr | any[] | Input array. |
Returns:
arr is string[]
True if the input array is an array of strings.