Skip to main content

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

ParameterTypeDescription
arrany[]Input array.

Returns:

arr is string[]

True if the input array is an array of strings.