getTableBeforeDelete

View Source

Summary

Returns a table's optional before-delete lifecycle callback.

Signature

function getTableBeforeDelete<table extends AnyTable>(
  table: table,
): TableBeforeDelete | undefined;

Params

table

Returns

Before-delete callback or undefined.