Skip to content

SudoSOS Back-end API / helpers / splitTypes

Function: splitTypes() ​

ts
function splitTypes<S, T>(array, split): object;

Type Parameters ​

Type Parameter
S
T

Parameters ​

ParameterType
arrayany[]
splitstring

Returns ​

object

remainder ​

ts
remainder: T[];

type ​

ts
type: S[];