Directus / @directus/sdk / rest / throwIfCoreCollection
Function: throwIfCoreCollection() ​
throwIfCoreCollection(
value,message):void
Defined in: rest/utils/throw-core-collection.ts:9
Parameters ​
value ​
string | number | symbol
message ​
string
Returns ​
void
Throws ​
Throws an error if the collection starts with the directus_ prefix