- Preparing search index...
- The search index is not available
biorate
- isRefTypeArray<T, S>(docs, refType): docs is mongoose.Types.Array<NonNullable<S>>
-
- isRefTypeArray<T, S>(docs, refType): docs is NonNullable<S>[]
-
Parameters
-
docs: Ref<T, S>[]
-
refType: AllowedRefTypes
Returns docs is NonNullable<S>[]
Check if the array is fully of type "refType" Only returns "true" if all members in the array are of type "refType"