user

Access the user instance.

This property holds a reference to the user instance.

Please refer to the User API reference for more details.

Signature

This property has the following signature:

public get user(): User

Example

Here is a basic example of how to use this property:

import croct from '@croct/plug';
croct.user.edit()
.add('interests', 'JavaScript')
.save();