Skip to content
0

katanakit-js / DirectoryResult

Type Alias: DirectoryResult<T> ​

ts
type DirectoryResult<T> = 
  | {
  data: T;
  error: null;
  ok: true;
}
  | {
  data: null;
  error: DirectoryError;
  ok: false;
};

Defined in: src/schemas/directory.schema.ts:77

Safe result of a directory operation. Never throws for a refused action.

Type Parameters ​

Type Parameter
T

Released under the MIT License.