IsAuth checks if the current collection has "auth" type.
()
| 478 | |
| 479 | // IsAuth checks if the current collection has "auth" type. |
| 480 | func (m *Collection) IsAuth() bool { |
| 481 | return m.Type == CollectionTypeAuth |
| 482 | } |
| 483 | |
| 484 | // IsView checks if the current collection has "view" type. |
| 485 | func (m *Collection) IsView() bool { |
no outgoing calls